package com.wkbb.common.dto.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author dengjingyuan
 * @date 2019-08-22 18:58
 */
@Data
public class PayOrderDto {

    /**
     * 支付人openId
     */
    @ApiModelProperty(value = "支付人openId")
    private String openId;
    /**
     * 机构ID
     */
    @ApiModelProperty(value = "机构ID")
    private Long accountId;

    /**
     * 支付金额
     */
    @ApiModelProperty(value = "支付金额")
    private BigDecimal payAmount;

    /**
     * 终端IP
     */
    @ApiModelProperty(value = "终端IP")
    private String ip;

    /**
     * union_id
     */
    @ApiModelProperty(value = "unionId")
    private String unionId;

    /**
     * 宝宝用户ID
     */
    @ApiModelProperty(value = "宝宝用户ID")
    private Long userId;

    /**
     * 付费人
     */
    @ApiModelProperty(value = "付费人")
    private String payPeople;

    /**
     * 家长用户ID
     */
    @ApiModelProperty(value = "宝宝用户ID")
    private Long familyUserId;

    /**
     * 订单编号(未完成的订单继续支付)
     */
    @ApiModelProperty(value = "订单编号(未完成的订单继续支付")
    private String serialNo;

    /**
     * 学校ID
     */
    @ApiModelProperty(value = "学校ID")
    private Long orgId;

    /**
     * 支付类型(1,套餐,2单品)
     */
    @ApiModelProperty(value = "支付类型(1,套餐,2单品)")
    private Short payType;

    /**
     * 支付商品名称
     */
    @ApiModelProperty(value = "支付商品名称")
    private String payName;


    /**
     * 套餐或单品ID
     */
    @ApiModelProperty(value = "套餐或单品ID")
    private Long commodityId;

    /**
     * 角色类型(1教师2家长3学生4职员5游客)
     */
    @ApiModelProperty(value = "角色类型(1教师2家长3学生4职员5游客)")
    private Short roleType;

    /**
     * 代理商套餐ID
     */
    @ApiModelProperty(value = "代理商套餐ID")
    private Long agentPackageId;


    /**
     * 班级ID
     */
    @ApiModelProperty(value = "班级ID" )
    private Long classId;

    /**
     * 代理商套餐价格主键ID
     */
    @ApiModelProperty(value = "代理商套餐价格主键ID" )
    private Long gentPackagePriceId;

}
